package com.recharge.entity;

import javax.persistence.Column;

import com.excel.utils.ExcelResources;

/**   
* @Title: JsonRecharge.java 
* @Package com.recharge.entity 
* @author 孙梦楠 
* @date 2017年8月29日 上午8:42:25 
* @version V1.0.0   
*/

public class JsonRecharge {
	
	//工单标识
		
		private Integer rechargeid;
		//表ID
		private Integer meterid;
		
		//用户ID
		private Integer customerid;
		//用户账户
		private String customeraccount;
		//用户姓名
		private String customername;
		//用户地址
		private String customeraddress;
		//用户组织架构
		private Integer customerorg;
		private String customerorgname;
		private String customertype;
		//流向类型:1  购电, 2 退费
		private String direction;
		//操作员
		private String opecode;
		//命令下发时间
		private String issuetime;
		//实际充值时间
		private String rechargetime;
		//执行前金额
		private Double beforemoney;
		//充值次数  0为开户
		private Integer frequency;
		//充值金额
		private Double money;
		//执行后金额
		private Double aftermoney;
		//累计购电金额:
		private Double totalmoney;
		//工单状态：0  未下发, 1 下发成功，2 下发失败，3  正在下发
		private String optstatus;
		//操作次数
		private Integer optnum;
		//打印次数
		private Integer printnum;
		//备注
		private String remark;
		
		
		
		public JsonRecharge() {
			super();
		}
		public JsonRecharge(Integer rechargeid, Integer meterid, Integer customerid, String customeraccount,
				String customername, String customeraddress, Integer customerorg, String customerorgname,
				String customertype, String direction, String opecode, String issuetime, String rechargetime,
				Double beforemoney, Integer frequency, Double money, Double aftermoney, Double totalmoney,
				String optstatus, Integer optnum, Integer printnum, String remark) {
			super();
			this.rechargeid = rechargeid;
			this.meterid = meterid;
			this.customerid = customerid;
			this.customeraccount = customeraccount;
			this.customername = customername;
			this.customeraddress = customeraddress;
			this.customerorg = customerorg;
			this.customerorgname = customerorgname;
			this.customertype = customertype;
			this.direction = direction;
			this.opecode = opecode;
			this.issuetime = issuetime;
			this.rechargetime = rechargetime;
			this.beforemoney = beforemoney;
			this.frequency = frequency;
			this.money = money;
			this.aftermoney = aftermoney;
			this.totalmoney = totalmoney;
			this.optstatus = optstatus;
			this.optnum = optnum;
			this.printnum = printnum;
			this.remark = remark;
		}
		
		@Override
		public String toString() {
			return "JsonRecharge [rechargeid=" + rechargeid + ", meterid=" + meterid + ", customerid=" + customerid
					+ ", customeraccount=" + customeraccount + ", customername=" + customername + ", customeraddress="
					+ customeraddress + ", customerorg=" + customerorg + ", customerorgname=" + customerorgname
					+ ", customertype=" + customertype + ", direction=" + direction + ", opecode=" + opecode
					+ ", issuetime=" + issuetime + ", rechargetime=" + rechargetime + ", beforemoney=" + beforemoney
					+ ", frequency=" + frequency + ", money=" + money + ", aftermoney=" + aftermoney + ", totalmoney="
					+ totalmoney + ", optstatus=" + optstatus + ", optnum=" + optnum + ", printnum=" + printnum
					+ ", remark=" + remark + "]";
		}
		
		
		
		@ExcelResources(title = "工单ID",order=1)
		public Integer getRechargeid() {
			return rechargeid;
		}
		public void setRechargeid(Integer rechargeid) {
			this.rechargeid = rechargeid;
		}
		
		@ExcelResources(title = "表计ID",order=2)
		public Integer getMeterid() {
			return meterid;
		}
		public void setMeterid(Integer meterid) {
			this.meterid = meterid;
		}
		@ExcelResources(title = "用户ID",order=3)
		public Integer getCustomerid() {
			return customerid;
		}
		public void setCustomerid(Integer customerid) {
			this.customerid = customerid;
		}
		@ExcelResources(title = "用户编号",order=4)
		public String getCustomeraccount() {
			return customeraccount;
		}
		public void setCustomeraccount(String customeraccount) {
			this.customeraccount = customeraccount;
		}
		@ExcelResources(title = "用户姓名",order=5)
		public String getCustomername() {
			return customername;
		}
		public void setCustomername(String customername) {
			this.customername = customername;
		}
		@ExcelResources(title = "用户地址",order=6)
		public String getCustomeraddress() {
			return customeraddress;
		}
		public void setCustomeraddress(String customeraddress) {
			this.customeraddress = customeraddress;
		}
		public Integer getCustomerorg() {
			return customerorg;
		}
		public void setCustomerorg(Integer customerorg) {
			this.customerorg = customerorg;
		}
		
		public String getCustomerorgname() {
			return customerorgname;
		}
		public void setCustomerorgname(String customerorgname) {
			this.customerorgname = customerorgname;
		}
		public String getDirection() {
			return direction;
		}
		public void setDirection(String direction) {
			this.direction = direction;
		}
		public String getOpecode() {
			return opecode;
		}
		public void setOpecode(String opecode) {
			this.opecode = opecode;
		}
		@ExcelResources(title = "工单下发时间",order=8)
		public String getIssuetime() {
			return issuetime;
		}
		public void setIssuetime(String issuetime) {
			this.issuetime = issuetime;
		}
		public String getRechargetime() {
			return rechargetime;
		}
		public void setRechargetime(String rechargetime) {
			this.rechargetime = rechargetime;
		}
	
		@ExcelResources(title = "次数",order=9)
		public Integer getFrequency() {
			return frequency;
		}
		public void setFrequency(Integer frequency) {
			this.frequency = frequency;
		}

		public String getOptstatus() {
			return optstatus;
		}
		public void setOptstatus(String optstatus) {
			this.optstatus = optstatus;
		}
		public Integer getOptnum() {
			return optnum;
		}
		public void setOptnum(Integer optnum) {
			this.optnum = optnum;
		}
		public Integer getPrintnum() {
			return printnum;
		}
		public void setPrintnum(Integer printnum) {
			this.printnum = printnum;
		}
		@ExcelResources(title = "备注",order=11)
		public String getRemark() {
			return remark;
		}
		public void setRemark(String remark) {
			this.remark = remark;
		}
		
		@ExcelResources(title = "用户类型",order=7)
		public String getCustomertype() {
			return customertype;
		}
		public void setCustomertype(String customertype) {
			this.customertype = customertype;
		}
		public Double getBeforemoney() {
			return beforemoney;
		}
		public void setBeforemoney(Double beforemoney) {
			this.beforemoney = beforemoney;
		}
		@ExcelResources(title = "金额",order=10)
		public Double getMoney() {
			return money;
		}
		public void setMoney(Double money) {
			this.money = money;
		}
		public Double getAftermoney() {
			return aftermoney;
		}
		public void setAftermoney(Double aftermoney) {
			this.aftermoney = aftermoney;
		}
		public Double getTotalmoney() {
			return totalmoney;
		}
		public void setTotalmoney(Double totalmoney) {
			this.totalmoney = totalmoney;
		}
	
		
		
}
